Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

253
Vistas
React JS error - Expecting "CALC", ,..........."dimension", "number", got unexpected end of input CompileError: Begins at CSS selector undefined

I build my whole project, but when I'm doing yarn build, I'm getting this error from yarn i.e.

Parse error on line 1: 
^
Expecting "CALC", "LPAREN", "ADD", "SUB", "FUNCTION", "LENGTH", "ANGLE", "TIME", "FREQ", "RES", "UNKNOWN_DIMENSION", "EMS", "EXS", "CHS", "REMS", "VHS", "VWS", "VMINS", "VMAXS", "PERCENTAGE", "NUMBER", "expression", "math_expression", "function", "dimension", "number", got unexpected end of input
CompileError: Begins at CSS selector undefined


error Command failed with exit code 1

And I don't really think I did something wrong.. I tried creating a new react-app but and put all the files there, but still the same error:(

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

I just had the same problem and got it fixed. This is caused by some typo in a .css file. For me, I had "text-align: calc();" in the /src/App.css file that creating a new react-app makes. I suspect you have a similar issue of using a css function without including an expression.

about 4 years ago · Juan Pablo Isaza Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda